html, body {
  height: 100%;
}

/*main body*/
.main-body {
  min-width: 320px;
}

/*mobile*/
*[mobile] {
  display: none;
}

/*数字输入*/
input[type=number] {
  padding-right: 0 !important;
}

@keyframes moveTop {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@-webkit-keyframes moveTop {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*响应式样式*/
@media screen and (max-width: 480px) {
  *[pc] {
    display: none !important;
  }
  *[mobile] {
    display: inline-block !important;
  }
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 2em;
}

::-webkit-scrollbar-thumb {
  background-color: #9c9da0;
  border-radius: 2em;
}

::-webkit-input-placeholder {
  color: #d1d1d1;
}

:-moz-placeholder { /* Firefox 18- */
  color: #d1d1d1;
}

::-moz-placeholder { /* Firefox 19+ */
  color: #d1d1d1;
}

:-ms-input-placeholder {
  color: #d1d1d1;
}

[disabled], [readonly] {
  cursor: not-allowed;
}

[disabled] {
  color: #d2d2d2;
}

/*橙色*/
.orange .layui-layout-admin .layui-header {
  background-color: orange !important;
}

.orange .layui-bg-black {
  background-color: #e47214 !important;
}

/*蓝色*/
.blue .layui-layout-admin .layui-header {
  background-color: #3396d8 !important;
}

.blue .layui-bg-black, .blue .toggle-menu {
  background-color: #146aa2 !important;
}

.orange .layui-nav-tree .layui-nav-child a,
.blue .layui-nav-tree .layui-nav-child a {
  color: #fff;
}

.orange .header-menus-right.layui-nav .layui-nav-more,
.blue .header-menus-right.layui-nav .layui-nav-more {
  border-color: #fff transparent transparent !important;
}

.orange .header-menus-right.layui-nav-itemed .layui-nav-more, .orange .header-menus-right.layui-nav .layui-nav-mored,
.blue .header-menus-right.layui-nav-itemed .layui-nav-more, .blue .header-menus-right.layui-nav .layui-nav-mored {
  border-color: transparent transparent #fff !important;
}

.line-height-xs {
  line-height: 1;
}

.line-height-sm {
  line-height: 1.1;
}

.line-height-md {
  line-height: 1.5;
}

.line-height-lg {
  line-height: 2;
}

.line-height-xl {
  line-height: 2.5;
}

[class*="fa-"] {
  margin-right: 2px;
}

#nprogress > .bar {
  z-index: 2031 !important;
}

.inline-label {
  margin-left: 5px;
  margin-right: 5px;
}

.prefix-label {
  width: 100px;
  text-align: right;
}

.inline-radio-label, .inline-checkbox-label {
  margin: 10px 15px 0 5px;
  vertical-align: middle;
}

.inline-input {
  display: inline;
  width: 100px;
}

[class*="ares-col-"] {
  margin-bottom: 10px;
}

#sys-main-content-wrap {
  margin-top: 15px;
  padding: 0 10px 15px;
  animation: moveTop 1s;
  -webkit-animation: moveTop 1s;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
  position: relative;
  /*height: 100%;
  -webkit-overflow-scrolling: touch;
  overflow: auto;*/
}

/*重置layui*/
.logo,
.layui-body,
.layui-footer,
.layui-layout-admin .layui-side {
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}

.layui-body {
  overflow: auto;
  border-top: 5px solid #1AA094;
  border-left: 2px solid #1AA094;
  background: #fff;
}

.layui-nav {
  background-color: inherit !important;
}

.layui-nav cite {
  margin-left: 5px;
}

.layui-nav .layui-nav-item a {
  cursor: pointer;
}

.layui-nav .layui-nav-item > a {
  color: rgba(255, 255, 255, 1);
  max-height: 60px;
}

.layui-nav .layui-nav-child a:hover,
.layui-nav .layui-nav-child dd.layui-this a:hover {
  background-color: #5FB878;
  color: #fff;
}

.layui-layer-tab .layui-layer-title span {
  padding: 0 !important;
}

.layui-layer-dialog .layui-layer-content .layui-layer-ico16 {
  background-size: 100% 100% !important;
}

.layui-table-cell {
  padding: 0 5px;
}

.layui-table-view .layui-table {
  width: 100%;
  border-width: 0 1px 0 0;
}

.layui-table td, .layui-table th {
  font-size: 12px;
  border-width: 0 0 1px;
}

.layui-btn, .layui-input, .layui-textarea, .layui-upload-button, .layui-select {
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  font-size: 14px;
}

.layui-btn.layui-btn-xs {
  height: 22px;
  line-height: 22px;
  padding: 0 5px;
  font-size: 12px;
}

.layui-form-label {
  width: 110px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.layui-form-radio {
  margin-top: 0;
}

.layui-table-tips-c.layui-icon-close {
  line-height: 17px;
}

.layui-table-tips-c.layui-icon-close::before {
  right: 0;
}

.layui-tab-content {
  min-height: 400px;
}